# Maintainer: David Runge <dave@sleepmap.de>
# Contributor: speps <speps at aur dot archlinux dot org>

pkgname=pvoc
pkgver=0.1.12
pkgrel=5
pkgdesc="LADSPLA plugins and a tool for time compression/expansion using phase-vocoding"
arch=('loong64' 'x86_64')
url="http://quitte.de/dsp/pvoc.html"
license=('GPL2')
groups=('ladspa-plugins' 'pro-audio')
depends=('fftw' 'libsndfile')
makedepends=('ladspa')
source=("http://quitte.de/dsp/${pkgname}_${pkgver}.tar.gz")
sha512sums=('132bf0db349f5b6f574c169af3e7cbe3db550dc3729616d6a9e5be4a468a40c8c3bbbcc42135d870ae8460e33e778e31b0fe24c2665893e1c6e0d9a694406a0f')

build() {
  cd "${pkgname}-${pkgver}"
  make PREFIX=/usr
}

package() {
  cd "${pkgname}-${pkgver}"
  make PREFIX="${pkgdir}/usr" MAN1DEST="${pkgdir}/usr/share/man/man1" install
  install -vDm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}/"
}

# vim:set ts=2 sw=2 et:
